package org.ch00.test08.demo01;

/**
 * U盘
 * @author ZJL
 * @date 2025-03-04
 */
public class UDisk extends ElectronicDevices implements USB,Connect{

    @Override
    public void connectIng(USB usb) {
        System.out.println("U盘连接中...");
        usb.input();
        usb.output();
    }

    @Override
    public void input() {
        System.out.println("U盘正在进行写入...");
    }

    @Override
    public void output() {
        System.out.println("U盘正在进行读出...");
    }
}
